package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.SysUser;

import java.util.List;

@Mapper
public interface SysUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUser row);

    int insertSelective(SysUser row);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser row);

    int updateByPrimaryKey(SysUser row);

    List<SysUser> selectAll();

    List<SysUser> selectByPage(int pageNum, int pageSize);
}